#! /usr/bin/env bash

function capture
{
	echo 0 | ./capture "$1" > /dev/null;
}
#export -f capture; "$@"; bash -c '{ sleep 1; capture ScreenShot.png; } &' 2>&1 >/dev/null
"$@"; capture ScreenShot.png
